package com.bzkj.document.domain.otherinorder.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import com.bzkj.common.core.domain.model.LoginUser;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @projectName: bzkj-wms
 * @package: com.bzkj.document.domain.otherinorder
 * @className: ICGeneralInRequest
 * @description: 其他入库单新增实体类
 * @author: C1309
 * @createDate: 2024年12月03日
 * @version: v1.0
 */
public class ICGeneralInRequest {
    /**
     * 表头信息
     */
    @JSONField(name = "ic_generalin_h")
    @JsonProperty("ic_generalin_h")
    private ICGeneralInH icGeneralInH;

    /**
     * 明细信息
     */
    @JSONField(name = "ic_generalin_b")
    @JsonProperty("ic_generalin_b")
    private List<ICGeneralInB> icGeneralInB;

    /**
     * 用户登录信息
     */
    @JSONField(serialize = false)
    private LoginUser loginUser;

    public ICGeneralInH getIcGeneralInH() {
        return icGeneralInH;
    }

    public void setIcGeneralInH(ICGeneralInH icGeneralInH) {
        this.icGeneralInH = icGeneralInH;
    }

    public List<ICGeneralInB> getIcGeneralInB() {
        return icGeneralInB;
    }

    public void setIcGeneralInB(List<ICGeneralInB> icGeneralInB) {
        this.icGeneralInB = icGeneralInB;
    }

    public LoginUser getLoginUser() {
        return loginUser;
    }

    public void setLoginUser(LoginUser loginUser) {
        this.loginUser = loginUser;
    }

    @Override
    public String toString() {
        return "ICGeneralInRequest{" +
                "icGeneralInH=" + icGeneralInH +
                ", icGeneralInB=" + icGeneralInB +
                ", loginUser=" + loginUser +
                '}';
    }
}
